﻿<telerik:RadWindow x:Class="FXC.SL.UserControls.Window.LoginWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Loaded="RadWindow_Loaded" 
    mc:Ignorable="d" Header="用户登录" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" Background="Silver" d:DesignHeight="180" d:DesignWidth="355">
    <telerik:RadWindow.IconTemplate>
        <DataTemplate>
            <Image Source="../../Images/Res/agt_start_here.png" Stretch="None"/>
        </DataTemplate>
    </telerik:RadWindow.IconTemplate>
    <Grid Margin="0,5,0,0">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="80" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="35" />
            <RowDefinition Height="35" />
            <RowDefinition Height="35" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <telerik:RadButton Content="确定" Grid.Row="3" Height="23" HorizontalAlignment="Left" Name="radButtonOK" VerticalAlignment="Center" Width="75" Grid.Column="1" Margin="98,0,0,0" Click="radButtonOK_Click" />
        <telerik:RadButton Content="取消" Grid.Row="3" Height="23" HorizontalAlignment="Left" Name="radButtonCancel" VerticalAlignment="Center" Width="75" Grid.Column="1" Margin="176,0,0,0" Click="radButtonCancel_Click" />
        <!--Labels-->
        <TextBlock Text="用户名：" Style="{StaticResource AddingUserFormHeader}"/>
        <TextBlock Text="密码：" Grid.Row="1" Style="{StaticResource AddingUserFormHeader}"/>
        <!--Input-->
        <TextBox x:Name="tbName" Grid.Column="1" Style="{StaticResource AddingUserFormInput}" />
        <PasswordBox x:Name="tbPwd" Grid.Column="1" Grid.Row="1" Margin="5" />
        <CheckBox Content="是否记住用户名和密码" Grid.Column="1" Grid.Row="2" Height="16" HorizontalAlignment="Left" Margin="5,10,0,0" Name="cbRem" VerticalAlignment="Top" />
    </Grid>
</telerik:RadWindow>
   
